Skip to content

chore: update types from deps#479

Merged
marcoscaceres merged 7 commits into
mainfrom
deps
Apr 15, 2026
Merged

chore: update types from deps#479
marcoscaceres merged 7 commits into
mainfrom
deps

Conversation

@marcoscaceres

@marcoscaceres marcoscaceres commented Apr 13, 2026

Copy link
Copy Markdown
Collaborator

Update various types...

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates route typing and path patterns to align with updated dependency types (notably Express 5 / path-to-regexp), plus a small robustness tweak in the W3C groups update script.

Changes:

  • Adjust Express route path patterns to use optional-segment grouping (e.g., "/meta{/:field}", "/groups{/:shortname}{/:type}").
  • Tighten TypeScript typings for req.params in several route handlers.
  • Add defensive handling in the W3C groups list update script when flattening TF members.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
scripts/update-w3c-groups-list.ts Makes TF member flattening and iteration more defensive when producing the groups list JSON.
routes/xref/index.ts Updates /meta route pattern for optional segment handling under updated routing deps.
routes/w3c/index.ts Updates /groups route pattern to use optional segment grouping.
routes/w3c/group.ts Refines Express Request param typing for shortname/type.
routes/github/contributors.ts Refines Express Request param typing for org/repo.
routes/github/commits.ts Refines Express Request param typing for org/repo.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread routes/w3c/group.ts Outdated
Comment thread scripts/update-w3c-groups-list.ts Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Comment thread routes/w3c/index.ts
Comment thread routes/w3c/group.ts Outdated
Comment thread routes/github/commits.ts Outdated
@marcoscaceres

Copy link
Copy Markdown
Collaborator Author

@copilot, can you apply @sidvishnoi's suggestions. They all seem reasonable.

Copilot AI commented Apr 14, 2026

Copy link
Copy Markdown
Contributor

@copilot, can you apply @sidvishnoi's suggestions. They all seem reasonable.

Done in 61ce264 — applied all three of @sidvishnoi's suggestions.

@sidvishnoi sidvishnoi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More work for @copilot!

Comment thread routes/github/commits.ts Outdated
Comment thread routes/github/contributors.ts Outdated
Comment thread routes/w3c/group.ts Outdated
@marcoscaceres

Copy link
Copy Markdown
Collaborator Author

@copilot a few more suggestions from Sid. Can you address them?

Copilot AI commented Apr 14, 2026

Copy link
Copy Markdown
Contributor

@copilot a few more suggestions from Sid. Can you address them?

All three addressed in 752956f.

@marcoscaceres
marcoscaceres merged commit e9c02d3 into main Apr 15, 2026
2 checks passed
@marcoscaceres
marcoscaceres deleted the deps branch April 15, 2026 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants